package org.jeecg.modules.bicycle.order.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 借车记录
 * @Author: 月月鸟
 * @Date:   2021-05-28
 * @Version: V1.0
 */
@Data
@TableName("bike_vehicle_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_vehicle_order对象", description="借车记录")
public class BikeVehicleOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.String code;
	/**车辆*/
	@Excel(name = "车辆", width = 15)
    @ApiModelProperty(value = "车辆")
    private java.lang.String vehicleId;
	/**借车时间*/
	@Excel(name = "借车时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "借车时间")
    private java.util.Date pickTime;
	/**借车人*/
	@Excel(name = "借车人", width = 15)
    @ApiModelProperty(value = "借车人")
    private java.lang.String pickUser;
	/**借车车桩*/
	@Excel(name = "借车车桩", width = 15)
    @ApiModelProperty(value = "借车车桩")
    private java.lang.String pickPile;
	/**是否手动停止计费*/
	@Excel(name = "是否手动停止计费", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否手动停止计费")
    private java.lang.String isStop;
	/**停止计费时间*/
	@Excel(name = "停止计费时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "停止计费时间")
    private java.util.Date stopTime;
	/**还车时间*/
	@Excel(name = "还车时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "还车时间")
    private java.util.Date parkTime;
	/**还车人*/
	@Excel(name = "还车人", width = 15)
    @ApiModelProperty(value = "还车人")
    private java.lang.String parkUser;
	/**还车车桩*/
	@Excel(name = "还车车桩", width = 15)
    @ApiModelProperty(value = "还车车桩")
    private java.lang.String parkPile;
	/**还车类型  1.正常还车 3 后台还车*/
	@Excel(name = "还车类型", width = 15, dicCode = "park_type")
	@Dict(dicCode = "park_type")
    @ApiModelProperty(value = "还车类型")
    private java.lang.String parkType;
	/**用车方式 1 扫码 2 刷卡	*/
	@Excel(name = "用车方式", width = 15, dicCode = "use_type")
	@Dict(dicCode = "use_type")
    @ApiModelProperty(value = "用车方式")
    private java.lang.String useType;
	/**用车时长(分钟)*/
	//@Excel(name = "用车时长(分钟)", width = 15)
    @ApiModelProperty(value = "用车时长(分钟)")
    private java.lang.Integer useLong;
    /**使用时长MMss版(分钟)*/
    @Excel(name = "用车时长(分钟)", width = 15)
    @ApiModelProperty(value = "使用时长MMss版")
    @TableField(exist = false)
    private java.lang.String useMMss;
	/**应该支付费用*/
	@Excel(name = "应该支付费用", width = 15)
    @ApiModelProperty(value = "应该支付费用")
    private java.math.BigDecimal payCost;
	/**实际支付费用*/
	@Excel(name = "实际支付费用", width = 15)
    @ApiModelProperty(value = "实际支付费用")
    private java.math.BigDecimal payActual;
	/**是否支付*/
	@Excel(name = "是否支付", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否支付")
    private java.lang.String isPay;
	/**支付时长*/
	@Excel(name = "支付时长", width = 15)
    @ApiModelProperty(value = "支付时长")
    private java.lang.Integer payLong;
	/**骑行状态(1扫码骑行2刷卡骑行3停止计费4未支付5 完结)*/
	@Excel(name = "骑行状态(1扫码骑行2刷卡骑行3停止计费4未支付5 完结)", width = 15, dicCode = "ride_status")
	@Dict(dicCode = "ride_status")
    @ApiModelProperty(value = "骑行状态(1扫码骑行2刷卡骑行3停止计费4未支付5 完结)")
    private java.lang.String rideStatus;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;

    /**单据状态 (1进行中2免单中3退款中4已完成)*/
    @Excel(name = "单据状态", width = 15)
    @ApiModelProperty(value = "单据状态")
    @Dict(dicCode = "bill_status")
    private java.lang.String billStatus;


}
